package com.kingint.mbg.sys.mapper;

import com.kingint.mbg.sys.entity.UmsPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 后台用户权限表 Mapper 接口
 * </p>
 *
 * @author wxh
 * @since 2020-09-18
 */
public interface UmsPermissionMapper extends BaseMapper<UmsPermission> {


    /**
     * 查询用户的权限信息
     * @param id
     * @return
     */
    List<UmsPermission> listMenuByUserId(Long id);
}
